Average sentence length |
---|
19.4541 |
sentence length | percentage |
---|---|
3 | 0.1633 |
4 | 0.4267 |
5 | 0.8033 |
6 | 1.2833 |
7 | 1.7433 |
8 | 2.2767 |
9 | 2.6833 |
10 | 2.9533 |
11 | 3.5300 |
12 | 3.6667 |
13 | 4.2167 |
14 | 4.3500 |
15 | 4.4967 |
16 | 4.6800 |
17 | 4.7800 |
18 | 5.0867 |
19 | 4.7433 |
20 | 4.8033 |
21 | 4.4933 |
22 | 4.3167 |
23 | 4.2033 |
24 | 3.9600 |
25 | 3.6367 |
26 | 3.3800 |
27 | 3.3867 |
28 | 2.8067 |
29 | 2.5667 |
30 | 2.2500 |
31 | 2.0533 |
32 | 1.7733 |
33 | 1.3833 |
34 | 1.1333 |
35 | 0.8333 |
36 | 0.5600 |
37 | 0.3133 |
38 | 0.1433 |
39 | 0.0667 |
40 | 0.0367 |
41 | 0.0100 |
42 | 0.0033 |
44 | 0.0033 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters